//
//  YWSelectMaterialTableViewController.h
//  maintain
//
//  Created by Kyo on 16/9/2.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YWBuilding;

@protocol YWSelectMaterialTableViewControllerDelegate <NSObject>
- (void)popSelectMaterials:(NSMutableArray*)materialViewModelArray;
@end

@interface YWSelectMaterialTableViewController : UITableViewController
//已经选择的物料，第一次进来传nil
@property (nonatomic, strong) NSMutableArray *ownMaterialArray;
@property (nonatomic, weak) id<YWSelectMaterialTableViewControllerDelegate> delegate;
@property (nonatomic, strong) YWBuilding * building;
@end
